#

pkgname=orage
pkgver=4.8.1
pkgrel=1
pkgdesc="Calendar for Xfce"
arch=('ppc')
license=('GPL2')
url="http://www.xfce.org/projects/orage"
depends=('libical' 'libxfce4ui' 'gtk2' 'xfce4-panel' 'dbus-glib' \
				'libnotify' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('intltool' 'pkg-config' 'gettext' 'popt')
install=${pkgname}.install
source=("http://archive.xfce.org/src/apps/${pkgname}/4.8/${pkgname}-${pkgver}.tar.bz2")
md5sums=('9c1139ce03e9f309240e712cf31b6a49')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	sh configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		--enable-nls \
		--enable-libxfce4panel \
		--enable-libical \
		--enable-dbus \
		--enable-libnotify \
		--enable-archive \
		--without-bdb4

	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	make DESTDIR="${pkgdir}" install
}
